package org.iabako.client.config.page;

import org.iabako.client.tools.Messages;

/**
 * TODO javadoc
 * Date: 08/12/13
 * Time: 15:31
 */
public enum PageTagItemEnum {

    //clientForm
    ClientInformation("client_information"),
    ClientPayment("client_payments"),
    ClientConversation("client_conversation"),

    //saleForm
    SaleInformation("sale_information"),
    SalePayment("sale_payments"),
    SaleInvoice("sale_invoice"),

    //accountForm
    AccountGlobalConfiguration("account_global_configuration"),
    AccountClientCustomFieldsConfiguration("account_client_custom_fields_configuration"),

    //enterpriseForm
    MyEnterpriseConfigForm("my_enterprise_config_form"),
    MyEnterpriseCustomInfoForm("my_enterprise_custom_info_form"),

    //userForm
    MyUser("my_user_tag_item"),
    Users("users_tag_item");

    String labelKey;

    private PageTagItemEnum(String labelKey) {
        this.labelKey = labelKey;
    }

    public String getLabel() {
        return Messages.getLabel(labelKey);
    }
}
